﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using RemotingInterfaces;

namespace Model
{
    public class Account : MarshalByRefObject, IAccount
    {
        private String _user, _password;
        private bool _admin;
        private int _ID;
        //private bool _logged_in;

        public Account(String user, String password, bool admin, int ID)
        {
            _user = user;
            _password = password;
            _admin = admin;
            _ID = ID;
            //_logged_in = false;
            //setup a new player
        }

        public String User
        {
            get { return _user; }
        }

        public String Password
        {
            get { return _password; }
        }

        public bool Admin
        {
            get { return _admin; }
        }

        public int ID
        {
            get { return _ID; }
        }
    }
}
